﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Orange.Logistics.Models {
    public class BillRecord {
        [Key]
        [Column("Id")]
        [Required(ErrorMessage = "*")]
        public int Id { get; set; }

        [Column("Fromdate")]
        [Required(ErrorMessage = "*")]
        public DateTime Fromdate { get; set; }

        [Column("Todate")]
        [Required(ErrorMessage = "*")]
        public DateTime Todate { get; set; }

        [Column("Remark"), MaxLength(255)]
        public string Remark { get; set; }

        [Column("Status"), MaxLength(20)]
        public string Status { get; set; }

        [Column("Createuser"), MaxLength(12)]
        public string Createuser { get; set; }

        [Column("Createtime")]
        public DateTime? Createtime { get; set; }

    }
}
